package leetcode.code0748;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution748 implements IDebug {

	public abstract String shortestCompletingWord(String licensePlate, String[] words);

	@Override
	public void debug1() {
		HelpDebug.compare("steps",
				this.shortestCompletingWord("1s3 PSt", HelpDebug.str2array2("[\"step\",\"steps\",\"stripe\",\"stepple\"]")));

	}

	@Override
	public void debug2() {
		HelpDebug.compare("pest",
				this.shortestCompletingWord("1s3 456", HelpDebug.str2array2("[\"looks\",\"pest\",\"stew\",\"show\"]")));

	}

	@Override
	public void debug3() {
		HelpDebug.compare("husband",
				this.shortestCompletingWord("Ah71752", HelpDebug.str2array2("[\"suggest\",\"letter\",\"of\",\"husband\",\"easy\",\"education\",\"drug\",\"prevent\",\"writer\",\"old\"]")));

	}

	@Override
	public void debug4() {
		HelpDebug.compare("enough",
				this.shortestCompletingWord("OgEu755", HelpDebug.str2array2("[\"enough\",\"these\",\"play\",\"wide\",\"wonder\",\"box\",\"arrive\",\"money\",\"tax\",\"thus\"]")));

	}
	public void debug5() {
		HelpDebug.compare("simple",
				this.shortestCompletingWord("iMSlpe4", HelpDebug.str2array2("[\"claim\",\"consumer\",\"student\",\"camera\",\"public\",\"never\",\"wonder\",\"simple\",\"thought\",\"use\"]")));

	}

}
